package com.jmp.api.admin.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Builder;
import lombok.Data;
import one.stand.dto.PageResponse2;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author cjr
 */
@Data
@Builder
public class TicketOrderCompanyDetailResponse {

    private String createName;

    private String companyName;
    private String addr;
    private String companyUser;
    private String companyTel;

    private PageResponse2<Order> orders;

    @Data
    @Builder
    public static class Order {
        @ExcelProperty("销售单号")
        private String orderNo;
        @ExcelProperty("订单金额")
        private BigDecimal orderMoney;
        private Integer companyId;
        private String companyName;
        @ExcelProperty("非入驻商家:0不是 1是")
        private Integer type;
        private String addr;
        @ExcelProperty("核验单")
        private String photo;
        @ExcelProperty("打款单")
        private String payPhoto;
        @ExcelProperty("时间")
        private Date ctime;
        @ExcelProperty("审核人")
        private String auditor;
        @ExcelProperty("审核状态")
        private Integer status;
        @ExcelProperty("备注")
        private String memo;
        private Integer creater;
        private String createrName;
    }
}
